package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.sql.Blob;

/**
 * <p>
 * 菌落形态类
 * </p>
 *
 * @author wanghao
 * @since 2024-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("BAC_MORP_TYPE")
@Entity
@Table(name = "BAC_MORP_TYPE")
public class BacGermMorphologyType extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;

    /**
     * 编码
     */
    @TableField("MORP_TYPE_NO")
    @Column(name = "MORP_TYPE_NO")
    private String code;

    /**
     * 可选项
     */
    @TableField("MORP_TYPE_NA")
    @Column(name = "MORP_TYPE_NA")
    private String name;

    /**
     * 菌落形态(数据字典:gremMorphologyType)
     */
    @TableField("MORPHOLOGY_TYPE")
    @Column(name = "MORPHOLOGY_TYPE")
    private String morphologyType;

    /**
     * 输入码
     */
    @TableField("INPUT_CODE")
    @Column(name = "INPUT_CODE")
    private String inputCode;

    /**
     * 描述
     */
    @TableField("DESCRIPTION")
    @Column(name = "DESCRIPTION")
    private String description;

    /**
     * 图片地址
     */
    @TableField("IMAGE_URL")
    @Column(name = "IMAGE_URL")
    private String imageUrl;

    /**
     * 是否静态
     */
    @TableField("IS_STATIC")
    @Column(name = "IS_STATIC")
    private Integer isStatic;


    /**
     * 顺序码
     */
    @TableField("SEQ")
    @Column(name = "SEQ")
    private Long seq;

    /**
     * 图片数据
     */
    @TableField("IMAGE_BLOB")
    @Column(name = "IMAGE_BLOB")
    private byte[] imageBlob;


}
